﻿using InTheHand.Net;
using InTheHand.Net.Bluetooth;
using InTheHand.Net.Sockets;
using InTheHand.Windows.Forms;
using System.Management;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.NetworkInformation;
using System.IO;
using Sharpimeter.Model;
using System.Diagnostics;
using MySql.Data.MySqlClient;


namespace Sharpimeter
{
    public class Program
    {
        //private Config config = new Config();
        //const string ADDRESS_BLUETOOTH = config.GetMacAddress();
        //const string PIN = config.GetPincode();

        static void Main(string[] args)
        {
            Config config = new Config();

            Console.WriteLine("Start program");

            OnyxII o2 = new OnyxII(config.GetMacAddress(), config.GetPincode());

            o2.StartOximeter();
        }
        
    }

}
